//package com.duolaibei.pay;
//
//import android.annotation.SuppressLint;
//import android.content.BroadcastReceiver;
//import android.content.Context;
//import android.content.Intent;
//import android.os.Build;
//
//import com.duolaibei.pay.activity.DLB_MainActivity;
//
//import java.util.Objects;
//
///**
// * Created by xlm on 2018/3/2 0002
// */
//
//public class AutoPowerReceiver extends BroadcastReceiver {
//    public AutoPowerReceiver() {
//    }
//    @SuppressLint("PrivateApi")
//    @Override
//    public void onReceive(final Context context, Intent intent) {
//        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
//            if (Objects.equals(intent.getAction(), "android.intent.action.BOOT_COMPLETED")) {
////                Intent i = new Intent(context, DLB_MainActivity.class);
////                i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
////                context.startActivity(i);
//            }
//        }
//    }
//}
